<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="__PUBLIC__/admin/css/common.css" type="text/css" />
<title>管理区域</title>
</head>

<body>
<div id="man_zone">

  <table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
    <tr>
      <td width="5%" class="tb_headc"><span class="left-title">编号</span></td>
      <td width="15%" class="tb_headc">&nbsp;链接名称</td>
      <td width="31%" class="tb_headc">&nbsp;链接地址</td>
      <td width="20%" class="tb_headc">&nbsp;添加时间</td>
	  <td width="7%" class="tb_headc">&nbsp;显示位置</td>
      <td width="7%" class="tb_headc">&nbsp;显示？</td>
      <td width="15%" class="tb_headc">&nbsp;相关操作</td>
    </tr>
    <volist name="list" id="vo" empty="$empty">
    <tr>
      <td class='<if condition="($i%2) eq '1'">tb_headd<else />tb_heade</if>'><{$vo.id}></td>
      <td class='<if condition="($i%2) eq '1'">tb_headd<else />tb_heade</if>'><{$vo.name}></td>
      <td class='<if condition="($i%2) eq '1'">tb_headd<else />tb_heade</if>'><{$vo.url}></td>
      <td class='<if condition="($i%2) eq '1'">tb_headd<else />tb_heade</if>'><{$vo.ctime|date='Y-m-d H:i:s',###}></td>
	<td class='<if condition="($i%2) eq '1'">tb_headd<else />tb_heade</if>'><{$vo.sequence}></td>
      <!--td class='<if condition="($i%2) eq '1'">tb_headd<else />tb_heade</if>'><if condition="$vo[ifshow] eq '0'"><a href="<{:U('link/ifshow',array('id'=>$vo[id],'ifshow'=>'1'))}>">显示</a><else /><a href="<{:U('link/ifshow',array('id'=>$vo[id],'ifshow'=>'0'))}>">隐藏</a></if></td-->
      <td class='<if condition="($i%2) eq '1'">tb_headd<else />tb_heade</if>'><if condition="$vo[visible] eq 'y'">显示<else />隐藏</if></td>
      <td class='<if condition="($i%2) eq '1'">tb_headd<else />tb_heade</if>'><a href='<{:U("link/editlink",array("id"=>$vo[id]))}>'>编辑</a> | <a href='<{:U("link/dellink",array("id"=>$vo[id]))}>'>删除</a></td>
    </tr>
    </volist>
    <tr>
      <td colspan="8" class="page"><{$page}></td>
    </tr>
    
  </table>

</div>
</body>
</html>
